package test2;

public class Tests {
    protected int a = 10;
}
class Student{

}
class Teacher{

}
class  School{
    //组合，类类型作为成员变量
    public Student[] student;
    public Teacher[] teacher;
    School() {
    this.student = new Student[10];
    this.teacher = new Teacher[10];
    }
}
